package org.jadapter;

/** 
 * A function-like interface. May throw typed exceptions and should not cause side effects.
 * 
 * @author Vidar Svansson
 * @since 0.1
 * @param <T> The return type
 * @param <A> The argument type
 */
public interface Callable<T,A> {
    T apply(A a) throws Exception;
}
